package com.njit.mailm.core.service;

import com.njit.mailm.core.bean.MessageWrap;
import com.njit.mailm.core.bean.User;

import java.util.List;

/**
 * Created by Administrator on 2016/5/10.
 */
public interface ClassifyService {
    List<MessageWrap> getAllUnreadMessage(String userid);

    MessageWrap getMessageById(String id);

    List<MessageWrap> getAllStarMessage(String id);

    List<MessageWrap> showAllMessage(String id);

    boolean addMessage(String name,String messageId, User user);

    List<MessageWrap> showMessageInClassify(String classify, User user);
}
